From: Jan D. Date: Sat, 23 Jul 2011 08:33:06 +0000 (+0200) Subject: Fix title and toolbar not shown in OSX 10.7. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~2738 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=15b48d86b1a16b8e25435ef6f7f33aba03ed6509;p=emacs.git Fix title and toolbar not shown in OSX 10.7. * nsterm.m (initFrameFromEmacs): Set NSTitledWindowMask in styleMask for OSX >= 10.7. --- diff --git a/src/ChangeLog b/src/ChangeLog index e033bf3ce56..8af38080d00 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-07-23 Jan Djärv + + * nsterm.m (initFrameFromEmacs): Set NSTitledWindowMask in styleMask + for OSX >= 10.7. + 2011-07-22 Eli Zaretskii Fix a significant slow-down of cursor motion with C-n, C-p, diff --git a/src/nsterm.m b/src/nsterm.m index 546247ab74a..e45dc1a902d 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -5304,6 +5304,9 @@ ns_term_shutdown (int sig) win = [[EmacsWindow alloc] initWithContentRect: r styleMask: (NSResizableWindowMask | +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 + NSTitledWindowMask | +#endif NSMiniaturizableWindowMask | NSClosableWindowMask) backing: NSBackingStoreBuffered